package com.xiaoxin.nmzp.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 简历管理对象 nmzp_resume
 * 
 * @author xiaoxin
 * @date 2024-10-20
 */
@Data
public class NmzpResume
{
    private static final long serialVersionUID = 1L;

    /** id主键 */
    @TableId(type = IdType.AUTO)
    private Long resumeId;

    /** 用户id关联用户，一对一 */
    @Excel(name = "用户id关联用户，一对一")
    private Long userId;
    /**
     * 简历名称
     */
    private String resumeName;

    /** 学历信息，JSON格式 */
    @Excel(name = "学历信息，JSON格式")
    private String educations;

    /** 是否有工作经验(0否，1是) */
    @Excel(name = "是否有工作经验(0否，1是)")
    private Long isWorkExperience;

    /** 工作经验信息，JSON数组格式 */
    @Excel(name = "工作经验信息，JSON数组格式")
    private String workExperience;

    /** 个人优势信息 */
    @Excel(name = "个人优势信息")
    private String advantage;

    /** 项目经验,JSON数组格式 */
    @Excel(name = "项目经验,JSON数组格式")
    private String projectExperience;

    /** 附件简历地址 */
    @Excel(name = "附件简历地址")
    private String attachment;

    /** 职位类型固定数据 */
    @Excel(name = "职位类型固定数据")
    private Long jobType;

    /** 求职状态（0离校-正在找工作 1在校-正在找工作 2在校-看看机会 3在线-暂时不找工作 4离校-我要当牛马） */
    @Excel(name = "求职状态", readConverterExp = "0=离校-正在找工作,1=在校-正在找工作,2=在校-看看机会,3=在线-暂时不找工作,4=离校-我要当牛马")
    private Long jobSeekingStatus;

    /** 资格证书, 公共字符串分割 */
    @Excel(name = "资格证书, 公共字符串分割")
    private String credential;

    /** 专业技能，说明自己擅长的技能信息 */
    @Excel(name = "专业技能，说明自己擅长的技能信息")
    private String professionalSkill;

    /** 自我评估 */
    @Excel(name = "自我评估")
    private String selfEvaluation;

    /** 创建用户 */
    @Excel(name = "创建用户")
    private Long createUser;

    /** 删除标识（0默认，1删除） */
    @Excel(name = "删除标识", readConverterExp = "0=默认，1删除")
    private Long isDel;


    @TableField(exist = false)
    private String userName;

    public void setResumeId(Long resumeId) 
    {
        this.resumeId = resumeId;
    }

    public Long getResumeId() 
    {
        return resumeId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setEducations(String educations) 
    {
        this.educations = educations;
    }

    public String getEducations() 
    {
        return educations;
    }
    public void setIsWorkExperience(Long isWorkExperience) 
    {
        this.isWorkExperience = isWorkExperience;
    }

    public Long getIsWorkExperience() 
    {
        return isWorkExperience;
    }
    public void setWorkExperience(String workExperience) 
    {
        this.workExperience = workExperience;
    }

    public String getWorkExperience() 
    {
        return workExperience;
    }
    public void setAdvantage(String advantage) 
    {
        this.advantage = advantage;
    }

    public String getAdvantage() 
    {
        return advantage;
    }
    public void setProjectExperience(String projectExperience) 
    {
        this.projectExperience = projectExperience;
    }

    public String getProjectExperience() 
    {
        return projectExperience;
    }
    public void setAttachment(String attachment) 
    {
        this.attachment = attachment;
    }

    public String getAttachment() 
    {
        return attachment;
    }
    public void setJobType(Long jobType) 
    {
        this.jobType = jobType;
    }

    public Long getJobType() 
    {
        return jobType;
    }
    public void setJobSeekingStatus(Long jobSeekingStatus) 
    {
        this.jobSeekingStatus = jobSeekingStatus;
    }

    public Long getJobSeekingStatus() 
    {
        return jobSeekingStatus;
    }
    public void setCredential(String credential) 
    {
        this.credential = credential;
    }

    public String getCredential() 
    {
        return credential;
    }
    public void setProfessionalSkill(String professionalSkill) 
    {
        this.professionalSkill = professionalSkill;
    }

    public String getProfessionalSkill() 
    {
        return professionalSkill;
    }
    public void setSelfEvaluation(String selfEvaluation) 
    {
        this.selfEvaluation = selfEvaluation;
    }

    public String getSelfEvaluation() 
    {
        return selfEvaluation;
    }
    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }
    public void setIsDel(Long isDel) 
    {
        this.isDel = isDel;
    }

    public Long getIsDel() 
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("resumeId", getResumeId())
            .append("userId", getUserId())
            .append("educations", getEducations())
            .append("isWorkExperience", getIsWorkExperience())
            .append("workExperience", getWorkExperience())
            .append("advantage", getAdvantage())
            .append("projectExperience", getProjectExperience())
            .append("attachment", getAttachment())
            .append("jobType", getJobType())
            .append("jobSeekingStatus", getJobSeekingStatus())
            .append("credential", getCredential())
            .append("professionalSkill", getProfessionalSkill())
            .append("selfEvaluation", getSelfEvaluation())
            .append("createUser", getCreateUser())
            .append("isDel", getIsDel())
            .toString();
    }
}
